Do not wait for memory teardown when live migrate
authorMiroslav Rezanina <mrezanin@redhat.com>
Thu, 28 Oct 2010 10:40:32 +0000 (11:40 +0100)
committerMiroslav Rezanina <mrezanin@redhat.com>
Thu, 28 Oct 2010 10:40:32 +0000 (11:40 +0100)
commit0f114a518128d42af0f82216ced729e9077eb62e
tree1d0a35f0444f3f7d624855ebd349355a8b227624
parent31e4f2432e508c3ee007fed69aad6b867e6a2fed
Do not wait for memory teardown when live migrate

When trying to live migrate guest with great memory (e.g. 20 GB),
there's delay caused by destroying source copy of domain.  To speed up
this process we can close socket before starting guest destroy, as
source guest is not running anymore.

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/xen/xend/XendCheckpoint.py
tools/python/xen/xend/XendDomain.py